﻿namespace jLight.Extensions
{
    public class jQueryAttributeMap : jQueryObjectBase
    {
        public string Src
        {
            set { ScriptObject.SetProperty("src", value); }
            get { return (string)ScriptObject.GetProperty("src"); }
        }
        public string Title
        {
            set { ScriptObject.SetProperty("title", value); }
            get { return (string)ScriptObject.GetProperty("title"); }
        }
        public string Alt
        {
            set { ScriptObject.SetProperty("alt", value); }
            get { return (string)ScriptObject.GetProperty("alt"); }
        }
        public string Class
        {
            set { ScriptObject.SetProperty("class", value); }
            get { return (string)ScriptObject.GetProperty("class"); }
        }
        public string Id
        {
            set { ScriptObject.SetProperty("id", value); }
            get { return (string)ScriptObject.GetProperty("id"); }
        }
        public string Style
        {
            set { ScriptObject.SetProperty("style", value); }
            get { return (string)ScriptObject.GetProperty("style"); }
        }
        public string Href
        {
            set { ScriptObject.SetProperty("href", value); }
            get { return (string)ScriptObject.GetProperty("href"); }
        }
        public string Align
        {
            set { ScriptObject.SetProperty("align", value); }
            get { return (string)ScriptObject.GetProperty("align"); }
        }
        public string Target
        {
            set { ScriptObject.SetProperty("target", value); }
            get { return (string)ScriptObject.GetProperty("target"); }
        }
        public string Checked
        {
            set { ScriptObject.SetProperty("checked", value); }
            get { return (string)ScriptObject.GetProperty("checked"); }
        }
        public string Disabled
        {
            set { ScriptObject.SetProperty("disabled", value); }
            get { return (string)ScriptObject.GetProperty("disabled"); }
        }
        public string MaxLength
        {
            set { ScriptObject.SetProperty("maxlength", value); }
            get { return (string)ScriptObject.GetProperty("maxlength"); }
        }
        public string Name
        {
            set { ScriptObject.SetProperty("name", value); }
            get { return (string)ScriptObject.GetProperty("name"); }
        }
        public string Size
        {
            set { ScriptObject.SetProperty("size", value); }
            get { return (string)ScriptObject.GetProperty("size"); }
        }
        public string Type
        {
            set { ScriptObject.SetProperty("type", value); }
            get { return (string)ScriptObject.GetProperty("type"); }
        }
        public string Value
        {
            set { ScriptObject.SetProperty("value", value); }
            get { return (string)ScriptObject.GetProperty("value"); }
        }
        public string this[string index]
        {
            get { return (string)ScriptObject.GetProperty(index); }
            set { ScriptObject.SetProperty(index, value); }
        }
    }
}